package com.joinway.framework.support.sso;

import com.joinway.framework.bean.sso.SSOContext;

public interface ISingleSignOnService<T extends SSOContext> {

	T login(String username, String password);
	
	String createToken(T context);
	
	T getSSOContext(String token);
	
	@Deprecated void saveSSOContext(String token, T context);
	
}
